package com.itheima.d2_this;

public class test {
    public static void main(String[] args) {
        Student s1 = new Student("hr","带专");
        Student s2 = new Student("HeiRui");
        System.out.println(s1.getName()+'\n'
                +s1.getSchoolName());
        System.out.println(s2.getName()+'\n'
                +s2.getSchoolName());
    }
}
/**
 * 运行结果：
 *           hr
 *          带专
 *          HeiRui
 *          cqupt
 */